<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/11/1
  Time: 9:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path;
    request.setAttribute("basePath", basePath);
%>
<html>
<head>
    <title>头部信息</title>
</head>
<body>
<div class="navbar">
    <div class="navbar-inner">
        <div class="container-fluid">
            <a class="btn btn-navbar" data-toggle="collapse" data-target=".top-nav.nav-collapse,.sidebar-nav.nav-collapse">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </a>
            <a class="brand" href="${basePath}/index.action"><span>瀚海速达</span></a>

            <!-- start: Header Menu -->
            <div class="nav-no-collapse header-nav">

                <ul class="nav pull-right">

                    <!-- start: User Dropdown -->
                    <li class="dropdown">
                        <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
                            <i class="halflings-icon white user"></i>
                            <span class="caret"></span>
                        </a>
                        <ul class="dropdown-menu">
                            <li class="dropdown-menu-title">
                                <span>当前用户：${currentUser.name}</span>
                            </li>
                            <li><a href="#"><i class="halflings-icon user"></i> 个人档案</a></li>
                            <li><a href="#"><i class="halflings-icon off"></i> 登录</a></li>
                            <li><a href="${basePath}/exit.action"><i class="halflings-icon off"></i>安全退出</a></li>
                        </ul>
                    </li>
                    <!-- end: User Dropdown -->
                </ul>

            </div>
            <!-- end: Header Menu -->

        </div>
    </div>
</div>
</body>
</html>
